<%@ page language="java" pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<%@ taglib uri="http://www.opensymphony.com/sitemesh/decorator"
	prefix="decorator"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="<%=basePath%>" />

<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>武汉科技大学计算机科学与技术学院云计算实验室</title>
<decorator:head />
<link rel="icon" type="image/ico" href="favicon.ico" />

<link href="css/reset.css" media="all" rel="stylesheet" type="text/css" />
<link href="css/front.css" media="all" rel="stylesheet" type="text/css" />
<script src="resources/scripts/jquery-1.4.2.min.js"
	type="text/javascript"></script>
<!--[if lt IE 8]>
    <link rel="stylesheet" type="text/css" href="css/ie.css" />
    <script type="text/javascript" src="js/dd_belatedpng.js"></script>
    <script> DD_belatedPNG.fix('.pngfix'); </script>
    <![endif]-->

<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/jquery.innerfade.js"></script>

<script type="text/javascript">
	$(document).ready(function() {
		$('#fade').innerfade({
			animationtype : 'fade',
			speed : 'slow',
			timeout : 2000,
			type : 'sequence',
			containerheight : '261px',
			runningclass : 'innerfade'
		});
	});
	$(function() {
		$.ajax({ //请求登录处理页
			url : "json/project!load", //登录处理页
			tppe : "get",
			dataType : "json",
			async : true,
			//传送请求数据
			success : function(data) { //登录成功后返回的数据
				//根据返回值进行状态显示
				$.each(data.data, function(i, v) {
					$(".column").append("<div class='item'><h4><a href='project-detail.jsp'><b>" + v.id + ".</b>&nbsp;&nbsp;" + v.title + "</a></h4><hr /></div>");
				});
			}
		});
	});
	$(function() {
		$.ajax({ //请求登录处理页
			url : "json/info!load", //登录处理页
			tppe : "get",
			dataType : "json",
			async : true,
			//传送请求数据
			success : function(data) { //登录成功后返回的数据
				//根据返回值进行状态显示
				$.each(data.data, function(i, v) {
					$(".info").append("<h2><a href='info-detail.jsp'><b>" + v.id + ".</b>&nbsp;&nbsp;" + v.title + "</a></h2><hr/>");
				});
			}
		});
	});
</script>
</head>

<body class="front">
	<div class="top-bar"></div>
	<!--End top-bar -->
	<div id="container">

		<div id="header">
			<h1 class="site-logo">
				<a href="index.jsp" class="pngfix">Paragon Stables</a>
			</h1>
			<div id="navigation">
				<ul>
					<li><a href="index.jsp">首页</a></li>
					<li><a href="user.jsp">成员简介</a></li>
					<li><a href="project.jsp">项目研究</a></li>
					<li><a href="picture.jsp">资源中心</a></li>
					<li><a href="contact.jsp">关于我们</a></li>
					<li><a href="admin/login?jump_url=back">登录</a></li>
					<li><a href="admin/login?jump_url=back">注册</a></li>
				</ul>				
				<!--End search  -->
			</div>
			<!--End navigation -->
		</div>
		<!--End header -->
		<!-- primary -->
		<decorator:body />
		<!--End primary -->

		<div class="clear-block"></div>

		<div id="bottom-container">
			<div id="secondary">
				<div class="inside">
					<h3>&#187; 最新项目</h3>
					<hr />
					<div class="column">
						<!-- <div class="item"><h4><a href="project-detail.jsp"><b>1.</b>&nbsp;&nbsp;UVM Flash上东方风格大方过撒地方咯</a></h4><hr /></div>End item -->
						<!-- <div class="item"><h4><a href="project-detail.jsp"><b>2.</b>&nbsp;&nbsp;Anacacho Breeze</a></h4><hr /></div>End item 
                <div class="item"><h4><a href="project-detail.jsp"><b>3.</b>&nbsp;&nbsp;SIH Surprise Bess</a></h4><hr /></div>End item  
                <div class="item"><h4><a href="project-detail.jsp"><b>4.</b>&nbsp;&nbsp;Navaduur</a></h4><hr /></div>End item  -->
					</div>
					<!--End column-->


					<div class="clear-block"></div>
					<p class="view-more">
						<a href="project.jsp">View More &#187;</a>
					</p>
				</div>
				<!--End inside -->
			</div>
			<!--End secondary -->
			<div id="tertiary">
				<div class="inside">
					<h3>&#187; 最新动态</h3>
					<hr />
					<div class="info"></div>
					<!-- <h2><a href="new-detail.jsp"><b>2.</b>&nbsp;&nbsp;动态二</a></h2> 
             <hr />
            <h2><a href="new-detail.jsp"><b>3.</b>&nbsp;&nbsp;动态三</a></h2>  <hr />
            <h2><a href="new-detail.jsp"><b>4.</b>&nbsp;&nbsp;动态三</a></h2><hr /> -->
					<p class="view-more">
						<a href="info.jsp">View More &#187;</a>
					</p>
				</div>
				<!--End inside -->
			</div>
			<!--End secondary -->
			<div class="clear-block"></div>
		</div>
		<!--End bottom-container-->

		<div id="footer">
			<p>
				Copyright &copy; 2013 武汉科技大学-云计算实验室 <a href="" title="SAE"><img
					src="resources/images/sina.png"/> </a>
			</p>
		</div>
		<!--End footer -->

	</div>
	<!--End container -->
	<script type="text/javascript">
		var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
		document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
	</script>
	<script type="text/javascript">
		try {
			var pageTracker = _gat._getTracker("UA-3376890-1");
			pageTracker._trackPageview();
		} catch (err) {
		}
	</script>
</body>
</html>
